<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=9"/>
<meta name="generator" content="Doxygen 1.9.1"/>
<meta name="viewport" content="width=device-width, initial-scale=1"/>
<title>Arduino MIDI File Parser: midi::multichannel_segment_tracks Class Reference</title>
<link href="tabs.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript" src="dynsections.js"></script>
<link href="search/search.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="search/searchdata.js"></script>
<script type="text/javascript" src="search/search.js"></script>
<link href="doxygen.css" rel="stylesheet" type="text/css" />
</head>
<body>
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
<div id="titlearea">
<table cellspacing="0" cellpadding="0">
 <tbody>
 <tr style="height: 56px;">
  <td id="projectalign" style="padding-left: 0.5em;">
   <div id="projectname">Arduino MIDI File Parser
   </div>
  </td>
 </tr>
 </tbody>
</table>
</div>
<!-- end header part -->
<!-- Generated by Doxygen 1.9.1 -->
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&amp;dn=gpl-2.0.txt GPL-v2 */
var searchBox = new SearchBox("searchBox", "search",false,'Search','.html');
/* @license-end */
</script>
<script type="text/javascript" src="menudata.js"></script>
<script type="text/javascript" src="menu.js"></script>
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&amp;dn=gpl-2.0.txt GPL-v2 */
$(function() {
  initMenu('',true,false,'search.php','Search');
  $(document).ready(function() { init_search(); });
});
/* @license-end */</script>
<div id="main-nav"></div>
<!-- window showing the filter options -->
<div id="MSearchSelectWindow"
     onmouseover="return searchBox.OnSearchSelectShow()"
     onmouseout="return searchBox.OnSearchSelectHide()"
     onkeydown="return searchBox.OnSearchSelectKey(event)">
</div>

<!-- iframe showing the search results (closed by default) -->
<div id="MSearchResultsWindow">
<iframe src="javascript:void(0)" frameborder="0" 
        name="MSearchResults" id="MSearchResults">
</iframe>
</div>

<div id="nav-path" class="navpath">
  <ul>
<li class="navelem"><b>midi</b></li><li class="navelem"><a class="el" href="classmidi_1_1multichannel__segment__tracks.html">multichannel_segment_tracks</a></li>  </ul>
</div>
</div><!-- top -->
<div class="header">
  <div class="summary">
<a href="#pub-methods">Public Member Functions</a> &#124;
<a href="#pro-methods">Protected Member Functions</a> &#124;
<a href="#pro-attribs">Protected Attributes</a> &#124;
<a href="classmidi_1_1multichannel__segment__tracks-members.html">List of all members</a>  </div>
  <div class="headertitle">
<div class="title">midi::multichannel_segment_tracks Class Reference</div>  </div>
</div><!--header-->
<div class="contents">

<p><code>#include &lt;<a class="el" href="MidiFileParserMultiTrack_8h_source.html">MidiFileParserMultiTrack.h</a>&gt;</code></p>
<div class="dynheader">
Collaboration diagram for midi::multichannel_segment_tracks:</div>
<div class="dyncontent">
<div class="center"><img src="classmidi_1_1multichannel__segment__tracks__coll__graph.png" border="0" usemap="#amidi_1_1multichannel__segment__tracks_coll__map" alt="Collaboration graph"/></div>
<map name="amidi_1_1multichannel__segment__tracks_coll__map" id="amidi_1_1multichannel__segment__tracks_coll__map">
<area shape="rect" title=" " alt="" coords="18,171,162,212"/>
<area shape="rect" href="structmidi_1_1midi__time__event.html" title=" " alt="" coords="5,81,175,108"/>
<area shape="rect" href="structmidi_1_1midi__midi__event.html" title="MIDI Event Information." alt="" coords="6,5,174,32"/>
</map>
<center><span class="legend">[<a href="graph_legend.html">legend</a>]</span></center></div>
<table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pub-methods"></a>
Public Member Functions</h2></td></tr>
<tr class="memitem:a119d4fc00378871d2bef72a88a572935"><td class="memItemLeft" align="right" valign="top"><a id="a119d4fc00378871d2bef72a88a572935"></a>
void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classmidi_1_1multichannel__segment__tracks.html#a119d4fc00378871d2bef72a88a572935">add</a> (int track, <a class="el" href="structmidi_1_1midi__time__event.html">midi_time_event</a> event)</td></tr>
<tr class="memdesc:a119d4fc00378871d2bef72a88a572935"><td class="mdescLeft">&#160;</td><td class="mdescRight">Adds an midi event to the indicated track. <br /></td></tr>
<tr class="separator:a119d4fc00378871d2bef72a88a572935"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:adc37815ca340a51bdba2cff65139dc20"><td class="memItemLeft" align="right" valign="top"><a id="adc37815ca340a51bdba2cff65139dc20"></a>
int&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classmidi_1_1multichannel__segment__tracks.html#adc37815ca340a51bdba2cff65139dc20">trackCount</a> ()</td></tr>
<tr class="memdesc:adc37815ca340a51bdba2cff65139dc20"><td class="mdescLeft">&#160;</td><td class="mdescRight">Provides the number of tracks. <br /></td></tr>
<tr class="separator:adc37815ca340a51bdba2cff65139dc20"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a79722815460ae3f98162837e93adcfc6"><td class="memItemLeft" align="right" valign="top"><a id="a79722815460ae3f98162837e93adcfc6"></a>
void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classmidi_1_1multichannel__segment__tracks.html#a79722815460ae3f98162837e93adcfc6">begin</a> ()</td></tr>
<tr class="memdesc:a79722815460ae3f98162837e93adcfc6"><td class="mdescLeft">&#160;</td><td class="mdescRight">Moves the iterators to the first element. <br /></td></tr>
<tr class="separator:a79722815460ae3f98162837e93adcfc6"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:abd2d16ad792d4d417abacfadb167d56b"><td class="memItemLeft" align="right" valign="top"><a id="abd2d16ad792d4d417abacfadb167d56b"></a>
<a class="el" href="structmidi_1_1midi__time__event.html">midi_time_event</a> &amp;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classmidi_1_1multichannel__segment__tracks.html#abd2d16ad792d4d417abacfadb167d56b">nextEvent</a> ()</td></tr>
<tr class="memdesc:abd2d16ad792d4d417abacfadb167d56b"><td class="mdescLeft">&#160;</td><td class="mdescRight">Provides the next event. <br /></td></tr>
<tr class="separator:abd2d16ad792d4d417abacfadb167d56b"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a61c06ef313591f12494db1e1b81748a1"><td class="memItemLeft" align="right" valign="top"><a id="a61c06ef313591f12494db1e1b81748a1"></a>
size_t&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classmidi_1_1multichannel__segment__tracks.html#a61c06ef313591f12494db1e1b81748a1">size</a> ()</td></tr>
<tr class="memdesc:a61c06ef313591f12494db1e1b81748a1"><td class="mdescLeft">&#160;</td><td class="mdescRight">Count number for midi events. <br /></td></tr>
<tr class="separator:a61c06ef313591f12494db1e1b81748a1"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a885bc5c9546339e4c60d74c6c4f9ac56"><td class="memItemLeft" align="right" valign="top"><a id="a885bc5c9546339e4c60d74c6c4f9ac56"></a>
bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classmidi_1_1multichannel__segment__tracks.html#a885bc5c9546339e4c60d74c6c4f9ac56">isEmpty</a> ()</td></tr>
<tr class="memdesc:a885bc5c9546339e4c60d74c6c4f9ac56"><td class="mdescLeft">&#160;</td><td class="mdescRight">Returns true if there are no midi events. <br /></td></tr>
<tr class="separator:a885bc5c9546339e4c60d74c6c4f9ac56"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:afd3ff3d9ec131ac20c6c0c5ce46a777a"><td class="memItemLeft" align="right" valign="top"><a id="afd3ff3d9ec131ac20c6c0c5ce46a777a"></a>
uint64_t&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classmidi_1_1multichannel__segment__tracks.html#afd3ff3d9ec131ac20c6c0c5ce46a777a">lastTime</a> (int track)</td></tr>
<tr class="memdesc:afd3ff3d9ec131ac20c6c0c5ce46a777a"><td class="mdescLeft">&#160;</td><td class="mdescRight">Provides the last recorded time for the indicated track. <br /></td></tr>
<tr class="separator:afd3ff3d9ec131ac20c6c0c5ce46a777a"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a0862757999f906a2bfd71881257747a8"><td class="memItemLeft" align="right" valign="top"><a id="a0862757999f906a2bfd71881257747a8"></a>
void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classmidi_1_1multichannel__segment__tracks.html#a0862757999f906a2bfd71881257747a8">end</a> ()</td></tr>
<tr class="memdesc:a0862757999f906a2bfd71881257747a8"><td class="mdescLeft">&#160;</td><td class="mdescRight">Releases all data. <br /></td></tr>
<tr class="separator:a0862757999f906a2bfd71881257747a8"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a36e682a113fbf286e3833c1b33aba26d"><td class="memItemLeft" align="right" valign="top"><a id="a36e682a113fbf286e3833c1b33aba26d"></a>
ProcessingStatus&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classmidi_1_1multichannel__segment__tracks.html#a36e682a113fbf286e3833c1b33aba26d">status</a> ()</td></tr>
<tr class="memdesc:a36e682a113fbf286e3833c1b33aba26d"><td class="mdescLeft">&#160;</td><td class="mdescRight">Provides the current processing status. <br /></td></tr>
<tr class="separator:a36e682a113fbf286e3833c1b33aba26d"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:aa0208bedf8eabeab38747a41e94fc29b"><td class="memItemLeft" align="right" valign="top"><a id="aa0208bedf8eabeab38747a41e94fc29b"></a>
<a class="el" href="structmidi_1_1midi__time__event.html">midi_time_event</a> &amp;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classmidi_1_1multichannel__segment__tracks.html#aa0208bedf8eabeab38747a41e94fc29b">getNoDataEvent</a> ()</td></tr>
<tr class="memdesc:aa0208bedf8eabeab38747a41e94fc29b"><td class="mdescLeft">&#160;</td><td class="mdescRight">Provides the reference to the nodata time event which signals that we provided no data. <br /></td></tr>
<tr class="separator:aa0208bedf8eabeab38747a41e94fc29b"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pro-methods"></a>
Protected Member Functions</h2></td></tr>
<tr class="memitem:ab53f5a4925cbbe26abab582af7873272"><td class="memItemLeft" align="right" valign="top"><a id="ab53f5a4925cbbe26abab582af7873272"></a>
void&#160;</td><td class="memItemRight" valign="bottom"><b>addTrack</b> (int track)</td></tr>
<tr class="separator:ab53f5a4925cbbe26abab582af7873272"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pro-attribs"></a>
Protected Attributes</h2></td></tr>
<tr class="memitem:ae3956f44596ae532b5249e1e6bfd0f96"><td class="memItemLeft" align="right" valign="top"><a id="ae3956f44596ae532b5249e1e6bfd0f96"></a>
std::vector&lt; std::list&lt; <a class="el" href="structmidi_1_1midi__time__event.html">midi_time_event</a> &gt; &gt;&#160;</td><td class="memItemRight" valign="bottom"><b>tracks</b></td></tr>
<tr class="separator:ae3956f44596ae532b5249e1e6bfd0f96"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:afdbdfc15261b8b64e4ba86b106369414"><td class="memItemLeft" align="right" valign="top"><a id="afdbdfc15261b8b64e4ba86b106369414"></a>
std::vector&lt; std::list&lt; <a class="el" href="structmidi_1_1midi__time__event.html">midi_time_event</a> &gt;::iterator &gt;&#160;</td><td class="memItemRight" valign="bottom"><b>iterators</b></td></tr>
<tr class="separator:afdbdfc15261b8b64e4ba86b106369414"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:aefd95227e59e65715b4d45cbad63d4d4"><td class="memItemLeft" align="right" valign="top"><a id="aefd95227e59e65715b4d45cbad63d4d4"></a>
<a class="el" href="structmidi_1_1midi__time__event.html">midi_time_event</a>&#160;</td><td class="memItemRight" valign="bottom"><b>no_data</b></td></tr>
<tr class="separator:aefd95227e59e65715b4d45cbad63d4d4"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:af5bab3606d514506ccf8b766012bdcad"><td class="memItemLeft" align="right" valign="top"><a id="af5bab3606d514506ccf8b766012bdcad"></a>
ProcessingStatus&#160;</td><td class="memItemRight" valign="bottom"><b>process_status</b> = Inserting</td></tr>
<tr class="separator:af5bab3606d514506ccf8b766012bdcad"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table>
<a name="details" id="details"></a><h2 class="groupheader">Detailed Description</h2>
<div class="textblock"><p>A list of events for each track held in an array </p>
</div><hr/>The documentation for this class was generated from the following file:<ul>
<li>src/<a class="el" href="MidiFileParserMultiTrack_8h_source.html">MidiFileParserMultiTrack.h</a></li>
</ul>
</div><!-- contents -->
<!-- start footer part -->
<hr class="footer"/><address class="footer"><small>
Generated by&#160;<a href="https://www.doxygen.org/index.html"><img class="footer" src="doxygen.svg" width="104" height="31" alt="doxygen"/></a> 1.9.1
</small></address>
</body>
</html>
